package com.cn.code.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;


@Entity
@Table(name = "TAB_CONTENT")
public class TabContentVo implements Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(generator = "idGenerator")
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	@Column(name = "id", unique = true, nullable = false)
	private String id;
	
	@Column(name = "TITLEID", length = 64)
	private String titleId;
	
	@Column(name = "type", length = 10)
	private String type;
	
	@Column(name="content", length = 16777216 )
	private String content;
	
	@Column(name = "create_user", length = 20)
	private String createUser;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_date" )
	private Date createDate;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "update_date" )
	private Date updateDate;
	
	@Column(name = "update_user" ,length = 20)
	private String udateUser;
	
	
	public TabContentVo() {
		super();
	}
	

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	

	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	
	
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
	
	public String getUdateUser() {
		return udateUser;
	}
	public void setUdateUser(String udateUser) {
		this.udateUser = udateUser;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public String getTitleId() {
		return titleId;
	}


	public void setTitleId(String titleId) {
		this.titleId = titleId;
	}




	

	

}
